﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" ValidateRequest="false"
    AutoEventWireup="true" CodeFile="DocContractUpdForm.aspx.cs" Inherits="App_Master_DocContractUpdForm"
    Title="销售资料维护" %>

<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Panel ID="PanelNavigate" runat="server" />
    <cc1:ComValidator ID="comValidatUpd" runat="server" ForeColor="Red" CheckItems-Capacity="4">
        <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="txtTitle">
            <cc1:ComAbsParamsAttribute Parameter="文件标题" />
        </cc1:CheckRequiredAttribute>
        <cc1:CheckMaxByteLenAttribute ByteLen="128" Code="E0079" ControlToValidator="txtTitle">
        </cc1:CheckMaxByteLenAttribute>
        <cc1:CheckDateAttribute Code="E0034" ControlToValidator="txtPubDate" DataFormat="yyyy/MM/dd">
            <cc1:ComAbsParamsAttribute Parameter="发布日期" />
        </cc1:CheckDateAttribute>
        <cc1:CheckMaxByteLenAttribute ByteLen="16" CharCode="" Code="E0079" ControlToValidator="txtAuthor">
        </cc1:CheckMaxByteLenAttribute>
    </cc1:ComValidator>

    <table width="80%">
        <tr>
            <td>
                <table class="table_border_line">
                    <tr>
                        <th align="left" colspan="6"  style="text-align: left;">
                            <script language="javascript">
                                        (new TitleBar('SearchBar', '资料信息')).showBar();
                            </script>
                            </th>
                    </tr>
                </table>
                <table class="table_border_line"  style="background:ffffff">
                    <tr>
                        <td style="width: 2%"></td>
                        <td align="left" class="list_data_bg_left" nowrap style="width: 15%">文件编号：</td>
                        <td align="left" style="width: 80%">
                            <asp:Label ID="lblDocId" runat="server"></asp:Label></td>
                        <td align="right" colspan="3" ></td>
                    </tr>
                    <tr>
                        <td style="width: 2%">&nbsp;</td>
                        <td style="width: 15%" class="list_data_bg_left" nowrap>资料类别：</td>
                        <td style="width: 80%" align="left">
                            <asp:RadioButtonList ID="rblDocType" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout = "Flow" Height="1px" Width="154px">
                            </asp:RadioButtonList></td>
                        <td colspan="3" align="right" >&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="list_data_bg_left" nowrap>文件标题：</td>
                        <td>
                            <asp:TextBox ID="txtTitle" runat="server" MaxLength="128"></asp:TextBox></td>
                        <td colspan="3" align="right">&nbsp;</td>
                    </tr>
                    <tr>
                        <td style="">&nbsp;</td>
                        <td class="list_data_bg_left" nowrap style="">发布时间：</td>
                        <td style="">
                            <asp:TextBox ID="txtPubDate" runat="server" MaxLength="10" onfocus="new Calendar(1900,2015,0,null).show(this);"></asp:TextBox>（格式：yyyy/MM/dd）</td>
                        <td colspan="3" align="right" style="">&nbsp;</td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td class="list_data_bg_left" nowrap>发布作者：</td>
                        <td>
                            <asp:TextBox ID="txtAuthor" runat="server" MaxLength="16"></asp:TextBox></td>
                        <td colspan="3" align="right">&nbsp;</td>
                    </tr>
                    <tr>
                        <td style=""></td>
                        <td class="list_data_bg_left" nowrap style="">资料内容：</td>
                        <td style=""></td>
                        <td align="right" colspan="3" style=""></td>
                    </tr>
                    <tr>
                        <td style=""></td>
                        <td colspan="2" align="center">
                            <div>

                                <script language="javascript" src="../../javascript/FCKEditor/fckeditor.js">
                                </script>

                                <script type="text/javascript">		
                                    <!--                       
                                    var sBasePath = '/yanhua/javascript/FCKEditor/';
                                    var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
                                    oFCKeditor.BasePath	= sBasePath ;
                                    oFCKeditor.Height	= 400 ;
                                    //oFCKeditor.ToolbarSet = '';
                                    oFCKeditor.Value	= '<% =this.DocContentHtml %>';
                                    oFCKeditor.Create() ;
                                    //-->
                                </script>

                            </div>
                        </td>
                        <td colspan="3" align="right">&nbsp;</td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="center" style="">
                <asp:Button ID="btnOk" runat="server" OnClick="btnOk_Click" Text="  登 入  " CssClass="button" />&nbsp;
                <asp:Button ID="btnDel" runat="server" OnClientClick="javascript:return confirm('确定要进行删除操作吗？');"
                    OnClick="btnDel_Click" Text="  删 除  " CssClass="button" />&nbsp;
                <asp:Button ID="btnBack" runat="server" Text="  返 回  " OnClick="btnBack_Click" CssClass="button" /></td>
        </tr>
    </table>
</asp:Content>
